package org.jeecg.weixin.cp.bean.outxmlbuilder;

import org.jeecg.weixin.cp.bean.message.WxCpXmlOutTextMessage;

/**
 * 文本消息builder
 *
 * @author Daniel Qian
 */
public final class TextBuilder extends BaseBuilder<TextBuilder, WxCpXmlOutTextMessage> {
	private String content;

	public TextBuilder content(String content) {
		this.content = content;
		return this;
	}

	@Override
	public WxCpXmlOutTextMessage build() {
		WxCpXmlOutTextMessage m = new WxCpXmlOutTextMessage();
		setCommon(m);
		m.setContent(this.content);
		return m;
	}
}
